{if $lbad_list}

{~ui('loader')->js('jquery.superslide',false,'templates/xqw/js')}

<div class="mainbanner">
	<div class="mainbanner_window">
		<ul id="slideContainer">
			<ul class="51buypic">
{loop $lbad_list $id $one}
<li><a href="{$one['ad_link']}" target="_blank"><img src="{$one['ad_img']}" alt="{$one['ad_text']}" width="1920" height="400" /></a></li>

{/loop}
		</ul>
	</div>
	<ul class="mainbanner_list">
	{loop $lbad_list $id $one}
		<li><a href="javascript:void(0);">{echo $id+1}</a></li>

	{/loop}	
	</ul>
</div>



{/if}